package com.erpanderp.wam.util.model.entity;

import com.erpanderp.wam.usm.model.entity.leave.EmployeeLeave;
import com.erpanderp.wam.usm.model.entity.timesheet.TimesheetDetail;

public class DashboardItem {
	private Long dashboardItemId;
	private String dashboardItem;
	private String dashboardItemDescription;
	private String ITEM_TYPE;
	private String notifier;
	private String notifiedOn;
	private Integer itemCount;
	
	private EmployeeLeave employeeLeave;
	
	public Long getDashboardItemId() {
		return dashboardItemId;
	}
	public void setDashboardItemId(Long dashboardItemId) {
		this.dashboardItemId = dashboardItemId;
	}
	public String getDashboardItem() {
		return dashboardItem;
	}
	public void setDashboardItem(String dashboardItem) {
		this.dashboardItem = dashboardItem;
	}
	public Integer getItemCount() {
		return itemCount;
	}
	public void setItemCount(Integer itemCount) {
		this.itemCount = itemCount;
	}
	public String getNotifier() {
		return notifier;
	}
	public void setNotifier(String notifier) {
		this.notifier = notifier;
	}
	public String getNotifiedOn() {
		return notifiedOn;
	}
	public void setNotifiedOn(String notifiedOn) {
		this.notifiedOn = notifiedOn;
	}
	public String getITEM_TYPE() {
		return ITEM_TYPE;
	}
	public void setITEM_TYPE(String iTEM_TYPE) {
		ITEM_TYPE = iTEM_TYPE;
	}
	public String getDashboardItemDescription() {
		return dashboardItemDescription;
	}
	public void setDashboardItemDescription(String dashboardItemDescription) {
		this.dashboardItemDescription = dashboardItemDescription;
	}
	public EmployeeLeave getEmployeeLeave() {
		return employeeLeave;
	}
	public void setEmployeeLeave(EmployeeLeave employeeLeave) {
		this.employeeLeave = employeeLeave;
	}

	public boolean equals(Object obj){
		if(this == obj){
			return true;
		}
		
		if(this.getDashboardItemId().equals(((DashboardItem)obj).getDashboardItemId())){
			return true;
		}
		return false;
	}
}
